package com.itheima.ydd.utils;


public class SysUserHolder {
    private static ThreadLocal<String> threadLocal=new ThreadLocal<>();
    public static void setId(String id){
        threadLocal.set(id);
    }
    public static String getId(){
        return threadLocal.get();
    }
}
